#!/usr/bin/python3


'''
def MyGenerator():
        value=yield 1
        yield value
        return done

gen=MyGenerator()
print(next(gen))
print(gen.send("I am Value"))
'''

def consumer():
     r = 0
     for i in range(3):
         yield r
         r = '200 OK '+ str(i)

c = consumer()


print(next(c))
print(next(c))
print(next(c))


